import java.util.*;
public class Hello_world {
  public static void main(String[] args){
	  Scanner in=new Scanner(System.in);
	  write("Enter your name: ");
	  String msg=in.nextLine();     //input name
	  write("Enter your group: ");
	  String msg2=in.nextLine();
	  String msg1; 					//describe variable of string type
	  writeln();
	  msg1="Hello "+msg+"!";
	  writeln(msg1);                //output message
	  String msg3;
	  msg3="You are from Group "+msg2;
	  writeln(msg3); 				//output message
  }
  //describe methods of printing message
  public static void write(Object ob1){
	  System.out.print(ob1);		
  }
  public static void writeln(Object ob1){
	  System.out.println(ob1);
  }
  public static void writeln(){
	  System.out.println();
  }
}
